Server Patching
Add a 'scheduled maintenance' in the BetterStack portal

On any VM, check for available updates via Settings > Update & Security If no updates are detected, manually validate the most recent update in the Update History, and check this link to see if there has been a more recent relevant release https://www.catalog.update.microsoft.com/Search.aspx?q=2019%20cumulative%20update
If confirmed that there is no new patch available, then patching is complete
If a new patch is detected, then the following steps are required:
- On SKYPROD-AF1, stop the 'PI AF Analysis' and 'PI Notification' services, and update their configurations to run from SKYPROD-AF2:

- Start the two services on SKYPROD-AF2
- Apply the patches and then reboot the following machines, in this order:
- SKYPROD-AF1
- SKYPROD-DA1
- SKYPROD-WEB1
- SKYPROD-SQL1
- SKYPROD-DC1
Once the clock is between 10:55 and 11:20 (SA time - to ensure we don't miss any customer emails or FTP pulls running from this machine), apply patches and then reboot SKYPROD-INT1
Once all of the above machines have been rebooted, apply patches and then reboot the following machines, in this order:
- SALES-AF1
- SALES-DA
- SALES-GHOST
Once all of the above machines have been rebooted:
- On SKYPROD-AF2, stop the 'PI AF Analysis' and 'PI Notification' services, and update their configurations to run from SKYPROD-AF1
- Start the two services on SKYPROD-AF1
- Apply the patches and then reboot the following machines, in this order:
- SKYPROD-AF2
- SKYPROD-DA2
- SKYPROD-WEB2
- SKYPROD-SQL2
- SKYPROD-DC2
Final remediation:
- If a time-triggered event frame is in-progress when the analysis service stops, then the service loses track of it and fails to close it in the right time. Therefore, daily or weekly reports need to be re-triggered once SKYPROD-AF1 is patched and the Analysis service begins running from there again. The following AF databases need to have event frame analyses manually re-triggered:
- Cassowary Coast Regional Council (analysis name is "Daily Report - [PERSON]")
Testing steps:
- Check that data trends are loading on the following pages:
- https://p1.ghost.site/Customer_Status
- https://p2.ghost.site/Customer_Status
- https://pilot.ghost.site/demo/RDII
If data is not loading, then the 'gHost Data Service' IIS application may need to be stopped and started again.
Once complete, close the 'status' in the BetterStack portal